package com.gan.springcloud;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("login")
@RestController
public class LoginApi {

    @RequestMapping("/test")
    public String test(){
        System.out.println("test ok");
        return "test ok";
    }


    @RequestMapping("/addgoods")
    public String addGoods() {
        System.out.println("addgoods ok");
        return "addgoods ok";
    }

    @RequestMapping("/getgoods")
    public String getGoods() {
        System.out.println("getGoods ok");
        return "getgoods ok";
    }
}
